/**
 * @ Author: luoqi
 * @ Create Time: 2023-12-22 10:08
 * @ Modified by: luoqi
 * @ Modified time: 2023-12-22 11:24
 * @ Description:
 */

#ifndef _HYPSTERSIS_CMP_H
#define _HYPSTERSIS_CMP_H

typedef struct hypstersis_cmp
{
    float href;
    float lref;
    int   k1;
} HypsCmpObj;

int hyps_cmp_init(HypsCmpObj *hyps, float href, float lref);

int hyps_cmp_calcu(HypsCmpObj *hyps, float k);

#endif
